package com.scott.customer.service;

import com.scott.customer.service.impl.SayBayServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author guanjiwei
 */
@FeignClient(value = "provider-c", fallback = SayBayServiceImpl.class)
public interface SayBayService {

    @GetMapping("/say")
    String findBay();
}
